package com.mspbots.core.wise.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Company is com.mspbots.cw.amqp.model
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2020/2/7
 */
@Data
@TableName(autoResultMap = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TenantCompanies extends TenantEntity {

    private Integer cwId;
    private String name;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private LocalDateTime syncTime;
    private JsonNode extend;
    @TableField(exist = false)
    private Boolean isAgreements;
    @TableField(exist = false)
    private String companyIds;

}
